package com.lx.composetest.lowlatency
import android.opengl.GLES20
fun loadShader(type: Int, shaderCode: String?): Int {
    val shader = GLES20.glCreateShader(type)
    GLES20.glShaderSource(shader, shaderCode)
    GLES20.glCompileShader(shader)
    return shader
}